<template>
	<web-view :src="src"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				type: 1
			}
		},
		onLoad({type}) {
			this.type = type
		},
		computed: {
			src() {
				const maps = {
					1:'https://groundhog.gxmob.cn/cooperation.html', //商务合作
					2:'https://groundhog.gxmob.cn/aboutus.html',// 关于我们：
					3:'https://groundhog.gxmob.cn/agreement.html',// 用户协议：
					4:'https://groundhog.gxmob.cn/privacy.html'// 隐私政策：
				}
				return maps[Number(this.type)]
			}
		},
		methods: {
			
		}
	}
</script>

<style>
page {
	background-color: #fff;
}
</style>
